//导入request.js请求工具，在request中暴露出来的instance就是request
import request from '@/utils/request.js'
//登录参数
export const userLoginService=(user)=>{
    return request.post('/login',user);
}
//注册对后端进行传参
export const userRegisterService=(user)=>{
    return request.post('/register',user);
}